package com.jiazhong.多态and转型.Test04;

public class PolyDetail02 {
    public static void main(String[] args) {
        Base base=new Sub();
        System.out.println(base.count);//10
        Sub sub=new Sub();
        System.out.println(sub.count);//20
    }
}
